/**
 * 
 */
package com.iwords.service.persistence;

import java.util.List;

import javax.ejb.Local;

import com.iwords.service.object.ExamSentencesEntity;

/**
 * @author       BOLIN.HBC 
 * @time         2011-5-1    
 * @description         
 */
@Local
public interface ExamSentencesPersistence {

	/**
	 * 根据ID查询句子
	 * 
	 * @param  id
	 * @return ExamSentencesEntity
	 */
	public ExamSentencesEntity getSentenceById(Long id);

	/**
	 * 修改翻译
	 * 
	 * @param sentence
	 */
	public void updateSentence(ExamSentencesEntity sentence);

	/**
	 * 批量修改翻译 
	 * 
	 * @param sentences
	 */
	public void updateSentences(List<ExamSentencesEntity> sentences);

	/**
	 * 批量查询 1,2,3的格式
	 * 
	 * @param  ids
	 * @return List<ExamSentencesEntity>
	 */
	public List<ExamSentencesEntity> getSentenceList(String ids);
}
